<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>改变旋转点</title>
  <style>
    img{
      width: 200px;
      transition: all 2s;
      /* 改变旋转点为右下角 */
      transform-origin: right bottom;
    }
    img:hover {
      transform: rotate(360deg);
    }

  </style>
</head>
<body>
<img src="images/rotate.png">
</body>
</html>
